package com.zmn.plat.persistence.interfaces.order;

import com.zmn.plat.model.entity.order.Order;

import java.util.List;

/**
 * @author nowind
 * @since 2018-09-22 09:43
 */
public interface OrderDao {


    Order findByKey(Integer orderId);

    List<Order> listAll();


    Integer updateByKey(Order order);


    Integer insert(Order order);


    void deleteByKey(Integer orderId);
}
